home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextFieldXYToPos.z
/
XmTextFieldXYToPos
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddXXXXYYYYTTTTooooPPPPoooossss((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddXXXXYYYYTTTTooooPPPPoooossss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddXXXXYYYYTTTTooooPPPPoooossss - A TextField function that accesses the
character position nearest an x and y position
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/TextF.h>
XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddXXXXYYYYTTTTooooPPPPoooossss(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
PPPPoooossssiiiittttiiiioooonnnn xxxx,
PPPPoooossssiiiittttiiiioooonnnn yyyy);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddXXXXYYYYTTTTooooPPPPoooossss accesses the character position nearest
to the specified _x and _y position, relative to the upper
left corner of the TextField widget.
_w_i_d_g_e_t Specifies the TextField widget ID
_x Specifies the _x position, relative to the upper
left corner of the widget.
_y Specifies the _y position, relative to the upper
left corner of the widget.
For a complete definition of TextField and its associated
resources, see XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
RRRREEEETTTTUUUURRRRNNNN
Returns the character position in the text nearest the _x and
_yposition specified. This is an integer number of characters
from the beginning of the buffer. The first character
position is 0 (zero).
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd(3).
Page 1 (printed 10/24/98)